package com.exam.mapper;
import com.exam.entity.DataDictionary;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DataDictionaryRepository extends JpaRepository<DataDictionary, Long> {
    // 可以添加自定义查询方法
    DataDictionary findByCode(String code); // 根据代码查找
}